home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / cpptutor.arc / PERSON.HPP < prev    next >
Text File  |  1991-04-28  |  279b  |  14 lines

  1.                                    // Chapter 11 - Program 1
  2. #ifndef PERSONHPP
  3. #define PERSONHPP
  4.  
  5. class person {
  6. protected:       // Make these variables available to the subclasses
  7.    char name[25];
  8.    int salary;
  9. public:
  10.    virtual void display(void);
  11. };
  12.  
  13. #endif
  14.